//package com.example.exercise.controller;
//
//
//import com.example.exercise.model.AttendanceRecord;
//import com.example.exercise.model.Employee;
//import com.example.exercise.service.CheckService;
//import com.example.exercise.vo.RestResultVo;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@RestController
//@RequestMapping("/Check")
//@Api(tags = "员工考勤情况")
//@Slf4j
//public class CheckController {
//
//    @Autowired
//    CheckService checkService;
//    @PostMapping("/register")
//    @ApiOperation("通过员工id,进行签到")
//    public RestResultVo<AttendanceRecord> register( @RequestBody List<Employee> signRecord){
//        log.info("Received AttendanceRecord: {}", signRecord);
//        AttendanceRecord attendanceRecord =checkService.register(signRecord);
//     return RestResultVo.ok(attendanceRecord);
//    }
//}
